package cn.dhnep.demo.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author dhn
 * @since 2021-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_withdraw")
@ApiModel(value="Withdraw对象", description="")
public class Withdraw implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "openId")
    private String openId;

    @ApiModelProperty(value = "1为用户，0为骑手，2为商户")
    private String userType;

    @ApiModelProperty(value = "提现编号")
    private String number;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "用户手机号")
    private String phone;

    @ApiModelProperty(value = "申请时间")
    private Date applyTime;

    @ApiModelProperty(value = "到账时间")
    private Date billTime;

    @ApiModelProperty(value = "提现方式")
    private String type;

    @ApiModelProperty(value = "提现金额")
    private Double num;

    @ApiModelProperty(value = "提现状态")
    private String state;

    @ApiModelProperty(value = "转账时间")
    private Date transfer;

    @ApiModelProperty(value = "说明")
    private String withdrawExplain;

    @ApiModelProperty(value = "提现后总金额")
    private Double countnum;

}
